<#import "../../controls/control.ftl" as c>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
<link href="../styles/modelpopup.css" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="../js/divcover.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/modalpopup.js"></script>
<html>
<head>
    <title>类别列表</title>
    
    <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
    <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
    <link href="../styles/calendar.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../js/common.js"></script>
    <script type="text/javascript">
        function Check(form)
        {
            CheckAll(form);
            checkedEnabledButton(form,'id','DelRec');
        }
    </script>
    <@c.validator "Form1" />
</head>
<body>
    <form id="Form1" name="Form1" method="post"> ${htmlBuilder}
        <table class="ntcplist" >

<tr class="head">

<td>文章列表</td>

</tr>

<tr>

<td>

<table class="datalist" cellspacing="0" rules="all" border="1" id="DataGrid1" style="border-collapse:collapse;">
	<tr class="category">
		<td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;width:20px;"><input title='选中/取消' onclick='Check(this.form)' type='checkbox' name='chkall' id='chkall' /></td><td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">文章标题</td><td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">发布日期</td><td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">&nbsp;</td>
	</tr>
	<#if (articleTypeList?exists && articleTypeList?size > 0)>
	<#list articleTypeList as antype>
	<tr onmouseover="this.className='mouseoverstyle'" onmouseout="this.className='mouseoutstyle'" style="cursor:hand;">
		<td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">
							<input id="id" onclick="checkedEnabledButton(this.form,'id','DelRec')" type="checkbox" value="${antype.id}" name="id" />
		</td>
		<td style="border-color:#EAE9E1;border-width:1px;border-style:solid;"><a href="article.action?view=true&id=${antype.id}">${antype.title}</a></td>
		<td style="border-color:#EAE9E1;border-width:1px;border-style:solid;">${antype.infoDate}</td>
		<td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">
							<a href="article.action?remove=true&id=${antype.id}">删除</a>
		</td>
	</tr>
	</#list>
	</#if>

</table></td></tr></TABLE>
<br/>
<br/>
<button type="button"  class="ManagerButton" id="SubmitAdd" name="SubmitAdd" value="SubmitAdd"
	onclick="location.href='article.action?add=true'"><img
	src="../images/submit.gif" /> 添加文章 </button>
<@c.hint hintImageUrl="../images" />
    </form>
</body>
</html>
